import { createApp } from 'vue'
import App from './App.vue'
import router from './router/router';
import {createPinia} from 'pinia'
import Vue3TouchEvents, {
    type Vue3TouchEventsOptions,
  } from "vue3-touch-events";

// 引入vant样式
import 'vant/lib/index.css';
import 'amfe-flexible'

import VConsole from 'vconsole';
new VConsole();
const app = createApp(App);
app.use(router).use(createPinia()).use<Vue3TouchEventsOptions>(Vue3TouchEvents, {
    disableClick: false
    // any other global options...
  });

app.mount('#app');
